A+ Core 1 3.3: An Overview of Memory — Class Notes

2026-09-24 · class-notes, a-plus, comptia, messer, hardware, memory, ram, dimm, ddr

Full class notes for Professor Messer A+ 220-1201 objective 3.3: RAM vs storage, DIMM and SO-DIMM, 64-bit data width, SDRAM, double data rate, and DDR3/DDR4/DDR5 compatibility and keying.

Class notes · Professor Messer, CompTIA A+ 220-1201 Core 1 · Section 3, objective 3.3 (An Overview of Memory)

Quick reference: the short version of this lesson is the An Overview of Memory cheat sheet in A+ Core 1 section 3. It opens objective 3.3, the memory half of section 3, following on from the cabling material (objective 3.2) and the display lessons (objective 3.1) earlier in the section.

Learning objectives

By the end of these notes you should be able to:

  1. Define RAM and explain how it differs from long-term storage.
  2. Explain why memory compatibility must be checked against the motherboard before upgrading.
  3. Describe a DIMM, where its name comes from, and its 64-bit data width.
  4. Describe a SO-DIMM and why laptops use it instead of a full-size DIMM.
  5. Explain what "random access" means for RAM, contrasted with sequential media.
  6. Explain SDRAM and why memory is synchronised to a clock.
  7. Explain double data rate and why it doubles throughput over single data rate.
  8. Compare DDR3, DDR4 and DDR5 on compatibility, and explain how keying prevents mis-installation.

1. What RAM is

1.1 Random Access Memory

When people ask "how much memory does your computer have?" or say a computer "is running out of memory," they are almost always talking about RAM — Random Access Memory. RAM is the most common type of memory inside a computer, though not the only kind you will encounter in this course.

1.2 RAM is not storage

It is worth being deliberate about this distinction: RAM is not your long-term storage. It is not your hard drive, and it is not your SSD. Confusing "memory" with "storage" is an easy mistake in everyday language, and the exam expects you to keep the two firmly separate.

1.3 What RAM actually does

RAM is temporary, high-speed storage used while applications are executing and calculations are being performed. A computer can only work with data that has been loaded into RAM. The typical flow is:

  1. Data and applications are loaded from a storage drive into RAM.
  2. The CPU processes that data while it sits in RAM.
  3. The result is often written back to the storage drive for anything that needs to persist.
+------------------------------------------------------------------------------+
|                                                                              |
|   [ Storage drive ]  --load-->  [ RAM ]  <--process-->  [ CPU ]              |
|      (HDD / SSD)                  |                                          |
|      persistent,                  |                                          |
|      slower                       v                                          |
|                             --write back--> [ Storage drive ]                |
|                             (for anything that must persist)                 |
|                                                                              |
|   RAM: temporary, high-speed, lost on power-off                              |
|   Storage: persistent, slower, survives power-off                            |
|                                                                              |
+------------------------------------------------------------------------------+

Exam tip: if a question describes data being lost the moment the power goes off, it is describing RAM. If it describes data surviving a reboot, it is describing storage.

2. Speed, generations and compatibility

2.1 Speed and performance

Memory technology has been updated every few years, and memory speed is closely tied to overall system performance — faster memory generally means a faster computer, all else being equal.

2.2 Compatibility is not universal

A single stick of memory is not generally compatible with every computer. Every motherboard expects a specific type of memory. Before performing a memory upgrade, or moving memory from one system to another, check the system's documentation to confirm compatibility with that particular motherboard.

Caution: compatibility is not just about the memory generation (DDR4 versus DDR5, for example). Motherboards also have limits on speed, capacity per module, total capacity, and sometimes specific supported module lists. Checking "is it DDR4" is necessary but not always sufficient.

3. DIMMs

3.1 What DIMM stands for

Rather than installing individual memory chips directly onto a motherboard, modern systems use a single assembled module: the DIMM, or Dual Inline Memory Module.

3.2 Why "dual inline"

Look at a DIMM and you will see a row of electrical contacts along the bottom edge on one side, and — turn it over — a different set of contacts on the other side. Because there are two separate lines of contacts, carrying independent signals, the module is described as dual inline.

Note (beyond this lesson): this is what genuinely distinguishes a DIMM from its predecessor, the SIMM (Single Inline Memory Module). On a SIMM, the contacts on the front and back of the module were electrically tied together, acting as one set of signals; on a DIMM, the two sides carry independent signals, effectively doubling the number of active contacts for a given physical edge length. That electrical independence — not merely "having contacts on both sides" — is the real meaning of "dual" in DIMM.

3.3 Data width

Reading from or writing to memory happens in 64-bit blocks — the data width of memory. Any calculation of how much data is being transferred to or from memory uses this 64-bit figure as the base unit.

Note (beyond this lesson): a standard (non-ECC) DIMM's data bus is 64 bits wide. A DIMM that also carries ECC (error-correcting code) adds an extra 8 bits for error checking, giving 72 bits total — the additional 8 bits are for error detection and correction, not for user data.

3.4 Installing and removing a DIMM

Because all the individual memory chips sit on one module, a DIMM is installed or removed as a single unit:

4. SO-DIMMs

4.1 What it is

Laptops and other mobile devices are too compact for a full-size DIMM, so they use a smaller version: the SO-DIMM, or Small Outline Dual Inline Memory Module — roughly half the size of a standard DIMM.

4.2 Installing a SO-DIMM

The installation process is conceptually the same as a desktop DIMM, but the module is typically installed horizontally, sliding into a socket at a shallow angle and then pressed down flat, where the side locks hold it in place. This horizontal orientation is chosen specifically to conserve space inside a laptop's chassis.

+------------------------------------------------------------------------------+
|                                                                              |
|   DIMM (desktop)                       SO-DIMM (laptop)                      |
|                                                                              |
|   +----------------------------+       +----------------+                    |
|   |  full-size module          |       | about half     |                    |
|   |  installed vertically,     |       | the length     |                    |
|   |  pushed straight down      |       | installed at   |                    |
|   |  into the slot              |       | an angle, then |                   |
|   +----------------------------+       | pressed flat   |                    |
|                                         +----------------+                   |
|                                                                              |
+------------------------------------------------------------------------------+

Placed side by side, the size difference is immediately obvious — the DIMM is the longer module, and the SO-DIMM's reduced size is precisely what makes it the right choice for mobile devices.

5. What "random access" means

5.1 Instant access to any address

On a DIMM, the individual chips are dynamic random access memory. It is called "random access" because any data at any address can be accessed instantaneously, in any order. There is no need to fast-forward or rewind through the data — unlike, for example, magnetic tape, where reaching a specific point means physically winding through everything before it.

5.2 Addressing

Instead of sequential access, RAM works by referencing an address directly — the system asks for the data at a particular location and gets it immediately, regardless of where that location sits relative to whatever was accessed previously.

6. SDRAM

6.1 Synchronous, dynamic RAM

The specific type of DRAM used in modern computers is SDRAM — Synchronous Dynamic Random Access Memory. "Synchronous" means the memory is synchronised to a common clock inside the computer.

6.2 Why a common clock matters

The CPU and memory operate at extremely high speeds. A shared clock gives many components inside the computer a standard, predictable rate against which data transfers happen — everything stays in step, which is essential when operations are happening at the speeds involved.

7. Double data rate (DDR)

7.1 Single data rate, for comparison

An older style of memory used a single data rate: one bit of data transferred per clock cycle, tied directly to the clock's rate. Each cycle moved the transfer along by exactly one step.

7.2 What double data rate changes

DDR — Double Data Rate — memory transfers data at both the top and the bottom of the clock cycle: once as the signal rises, and again as it falls. This effectively doubles the amount of data moved in the same amount of time, without needing to raise the clock frequency itself.

+------------------------------------------------------------------------------+
|                                                                              |
|   Single data rate: one transfer per full clock cycle                        |
|                                                                              |
|   clock:   __/  \__/  \__/  \__                                              |
|   data:       [1]    [2]    [3]        -- one bit per cycle                  |
|                                                                              |
|   Double data rate: one transfer on the rise, another on the fall            |
|                                                                              |
|   clock:   __/  \__/  \__/  \__                                              |
|   data:      [1][2] [3][4] [5][6]      -- two bits per cycle, same clock     |
|                                                                              |
+------------------------------------------------------------------------------+

7.3 Naming convention

Current computer memory is DDR memory, written as DDR followed by a generation number — for example, DDR3, DDR4, or DDR5 — indicating which version of the double-data-rate technology is installed.

8. DDR3, DDR4 and DDR5

8.1 DDR3

DDR3 succeeded the older DDR2. It increased total achievable capacity on a single memory module, but it is not backwards-compatible with DDR2 — a motherboard built for DDR3 will not accept DDR2 memory, and vice versa.

8.2 DDR4

DDR4 further increased speed over DDR3. As a newer generation with its own distinct technology, it is likewise not backwards-compatible with earlier DDR versions.

8.3 DDR5

DDR5 further increases the speed of data transfer between the memory module and the CPU, and is, again, not backwards-compatible with earlier memory.

8.4 The general pattern

Each new generation brings improvements, and each new generation is expected to be incompatible with the generation before it. This has held consistently across the DDR history covered here, and is a reasonable expectation for any future generation as well.

Generation Key change Backwards-compatible?
DDR3 (from DDR2) Increased module capacity No
DDR4 (from DDR3) Increased speed No
DDR5 (from DDR4) Further increased transfer speed No

Note (beyond this lesson): the physical facts behind this incompatibility are worth knowing for troubleshooting: DDR3 DIMMs use 240 pins (204 on a SO-DIMM), DDR4 DIMMs use 288 pins (260 on a SO-DIMM), and DDR5 DIMMs also use 288 pins (262 on a SO-DIMM) — the same DIMM pin count as DDR4, but with the notch in a different position and a different operating voltage, which is exactly why the keying described next is what actually prevents a DDR5 module from being mistaken for DDR4 despite the matching pin count.

8.5 Physical keying prevents mis-installation

Manufacturers build in physical protection against installing the wrong memory type. Each module has small keys, or notches, near the bottom edge that must align with a matching key on the motherboard's memory slot.

This means a DDR2 module physically cannot fit into a slot built for a different generation. Attempting to install DDR4 memory into a DDR3 motherboard, for example, shows immediately that the modules do not fit — the notch simply lands in the wrong place, and the module cannot be seated.

+------------------------------------------------------------------------------+
|                                                                              |
|   Module edge, bottom view (simplified)                                      |
|                                                                              |
|   DDR3 module: [----contacts----][notch][----contacts----]                   |
|   DDR3 slot:                     [ridge]                                     |
|                                     ^ matches, module seats fully            |
|                                                                              |
|   DDR4 module: [------contacts------][notch][----contacts----]               |
|   DDR3 slot:                       [ridge]                                   |
|                                       ^ notch position differs,              |
|                                         module cannot be pushed in           |
|                                                                              |
+------------------------------------------------------------------------------+

Exam tip: the keying is the mechanism that makes "wrong generation memory won't even fit" true in practice, not just a rule of thumb — it is a deliberate, physical design feature, not an accident of different pin counts alone (DDR4 and DDR5 in fact share the same 288-pin count, and it is the notch position and voltage that differ).

8.6 Worked example — diagnosing a memory upgrade that will not seat

Scenario: a technician has purchased new memory for an upgrade, but the module will not push fully into the slot on the motherboard, and forcing it seems unwise.

  1. Stop and check the generation, not the force. A module that will not seat is very likely the wrong generation for that motherboard — the notch does not align.
  2. Compare the module's notch position against the slot's key visually before trying again.
  3. Check the motherboard's documentation for the exact memory generation, and ideally the specific supported speed and capacity, it expects.
  4. Confirm what was actually purchased — a mismatched generation is an easy and common ordering mistake, especially between generations that look broadly similar.
  5. Never force a memory module. The keying exists specifically to prevent installing incompatible memory; forcing it risks damaging the module, the slot, or both.

9. Security perspective

Memory is not usually where security attention goes first, but a few points from this lesson carry real weight.

Summary

Glossary

Term Meaning
RAM Random Access Memory; temporary high-speed working memory
Storage Long-term data storage (HDD/SSD), distinct from RAM
DIMM Dual Inline Memory Module; the standard desktop memory module
Data width The size, in bits, of a block read from or written to memory
SO-DIMM Small Outline DIMM; a compact memory module used in laptops
Random access The ability to reach any memory address instantly, in any ord
DRAM Dynamic Random Access Memory; the memory chip type on a DIMM
SDRAM Synchronous DRAM; DRAM synchronised to a system clock
Clock The timing signal that paces data transfers between components
Single data rate Transferring one data unit per full clock cycle
DDR Double Data Rate; transferring data on both edges of the clock cycle
DDR3 / DDR4 / DDR5 Successive, mutually incompatible generations of DDR mem
Keying Physical notches that prevent installing the wrong memory generation
ECC Error-correcting code; adds extra bits for error detection/correction
Cold boot attack Recovering RAM contents shortly after power loss, before t

Review questions

  1. What does RAM stand for, and how is it different from storage?
  2. Describe the typical data flow between storage, RAM and the CPU.
  3. Why must memory compatibility be checked before an upgrade?
  4. What does DIMM stand for, and why is it called "dual inline"?
  5. What is the data width of a standard DIMM?
  6. What does SO-DIMM stand for, and roughly how does its size compare with a DIMM?
  7. Why is RAM described as "random access"?
  8. What does SDRAM stand for, and what does "synchronous" refer to?
  9. How does double data rate memory differ from single data rate memory?
  10. Are DDR3, DDR4 and DDR5 backwards-compatible with their predecessors?
  11. What physically prevents installing the wrong generation of memory into a motherboard?
  12. Why can't DDR4 and DDR5 be told apart by pin count alone?
  13. Scenario: a computer's data is lost the instant it loses power. Is this RAM or storage behaviour, and why?
  14. Scenario: you are upgrading a laptop's memory. What form factor should you expect to install, and roughly how does it compare in size to a desktop module?
  15. Scenario: a new DDR4 memory module will not seat in a motherboard's memory slot no matter how it's oriented. What is the most likely explanation, and what should you check?
  16. Scenario: during incident triage, a system is behaving erratically with random crashes, and malware is suspected. What hardware-level cause should be ruled out first, given this lesson's content?

Answer key

  1. Random Access Memory. It is temporary, high-speed working memory, not long-term storage such as a hard drive or SSD.
  2. Data and applications load from storage into RAM; the CPU processes it there; results are often written back to storage for anything that needs to persist.
  3. Not every memory module is compatible with every motherboard — checking the system's documentation before upgrading avoids buying incompatible memory.
  4. Dual Inline Memory Module. It is called dual inline because it has two separate lines of electrical contacts, one on each side of the module, carrying independent signals.
  5. 64 bits.
  6. Small Outline Dual Inline Memory Module. It is roughly half the size of a standard DIMM.
  7. Because any address in memory can be accessed instantly, in any order, unlike sequential media such as magnetic tape.
  8. Synchronous Dynamic Random Access Memory. "Synchronous" means the memory is synchronised to a common clock inside the computer.
  9. Double data rate transfers data on both the rising and falling edge of the clock cycle, roughly doubling throughput compared with single data rate, which transfers only once per full cycle.
  10. No. Each generation (DDR3, DDR4, DDR5) is not backwards-compatible with the one before it.
  11. Physical keying — a notch on the module that must align with a matching key on the motherboard's memory slot.
  12. DDR4 and DDR5 DIMMs both use 288 pins — it is the notch position and operating voltage that differ, not the pin count.
  13. RAM. RAM is volatile and loses its contents essentially immediately when power is removed; storage is designed to persist data without power.
  14. A SO-DIMM, roughly half the size of a full desktop DIMM, and typically installed horizontally to save space.
  15. The memory is very likely the wrong generation for that motherboard, so the notch does not align with the slot's key. Check the motherboard's documented supported memory generation before trying again, and never force it.
  16. A memory fault or a mismatched/improperly seated memory module — unreliable memory can produce symptoms (random crashes, instability) that superficially resemble malicious activity, so ruling out hardware is standard practice before assuming compromise.